home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 2818 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  948 b 

  1. Path: atglab.bls.com!Alun.Champion
  2. From: Alun.Champion@bridge.bst.bls.com (Alun Champion)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Parameterless functions
  5. Date: 19 Jan 1996 22:30:23 GMT
  6. Organization: Computer People Inc.
  7. Message-ID: <ALUN.CHAMPION.96Jan19173023@g7240065.bridge.bst.bls.com>
  8. References: <9601191115.aa06760@paris.ics.uci.edu>
  9.     <ALUN.CHAMPION.96Jan19172209@g7240065.bridge.bst.bls.com>
  10. NNTP-Posting-Host: bstfirewall.bst.bls.com
  11. In-reply-to: Alun.Champion@bridge.bst.bls.com's message of 19 Jan 1996
  12.     22:22:09 GMT
  13.  
  14. In article <ALUN.CHAMPION.96Jan19172209@g7240065.bridge.bst.bls.com> Alun.Champion@bridge.bst.bls.com (Alun Champion) writes:
  15.  
  16. :   This works because the ostream has an operator << defined that
  17. :   takes a function of the type above and all it does is call the function
  18. :   with itself as the argument i.e:
  19.  
  20. Oops slight correction, ... that takes a function ptr of ...
  21.  
  22. Regards
  23.  
  24.    -A.
  25. -- 
  26. | A.Champion                |
  27.